/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * NewJPanel.java
 *
 * Created on 23/11/2010, 19:57:58
 */

package sysype;

/**
 *
 * @author 075054mi
 */
public class NewJPanel extends javax.swing.JPanel {

    /** Creates new form NewJPanel */
    public NewJPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jlNome = new javax.swing.JLabel();
        jlPrCom = new javax.swing.JLabel();
        jlPrVend = new javax.swing.JLabel();
        jlPrcLucro = new javax.swing.JLabel();
        jtNome = new javax.swing.JTextField();
        jtPrVend = new javax.swing.JTextField();
        QtdEstMin = new javax.swing.JTextField();
        jtPrcLucro = new javax.swing.JTextField();
        jtPrCom = new javax.swing.JTextField();
        jtQtdEst = new javax.swing.JTextField();
        jlQtdEst = new javax.swing.JLabel();
        jlRef = new javax.swing.JLabel();
        jlQtdEstMin = new javax.swing.JLabel();
        jtRef = new javax.swing.JTextField();
        jlDesc = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jtaDesc = new javax.swing.JTextArea();
        jbSalvar = new javax.swing.JButton();
        jbExcluir = new javax.swing.JButton();
        jbNovo = new javax.swing.JButton();

        setLayout(null);

        jlNome.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jlNome.setText("Nome do Produto:");
        add(jlNome);
        jlNome.setBounds(0, 0, 110, 22);

        jlPrCom.setFont(new java.awt.Font("Arial", 0, 12));
        jlPrCom.setText("Preço de Compra:");
        add(jlPrCom);
        jlPrCom.setBounds(0, 80, 100, 22);

        jlPrVend.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jlPrVend.setText("Preço de Venda:");
        add(jlPrVend);
        jlPrVend.setBounds(260, 80, 100, 22);

        jlPrcLucro.setFont(new java.awt.Font("Arial", 0, 12));
        jlPrcLucro.setText("Percentagem de Lucro:");
        add(jlPrcLucro);
        jlPrcLucro.setBounds(0, 120, 128, 22);

        jtNome.setFont(new java.awt.Font("Arial", 0, 12));
        add(jtNome);
        jtNome.setBounds(130, 0, 350, 25);

        jtPrVend.setFont(new java.awt.Font("Arial", 0, 12));
        add(jtPrVend);
        jtPrVend.setBounds(420, 80, 60, 25);

        QtdEstMin.setFont(new java.awt.Font("Arial", 0, 12));
        add(QtdEstMin);
        QtdEstMin.setBounds(130, 160, 60, 25);

        jtPrcLucro.setFont(new java.awt.Font("Arial", 0, 12));
        add(jtPrcLucro);
        jtPrcLucro.setBounds(130, 120, 60, 25);

        jtPrCom.setFont(new java.awt.Font("Arial", 0, 12));
        add(jtPrCom);
        jtPrCom.setBounds(130, 80, 60, 25);

        jtQtdEst.setFont(new java.awt.Font("Arial", 0, 12));
        add(jtQtdEst);
        jtQtdEst.setBounds(420, 130, 60, 25);

        jlQtdEst.setFont(new java.awt.Font("Arial", 0, 12));
        jlQtdEst.setText("Quantidade de Estoque");
        add(jlQtdEst);
        jlQtdEst.setBounds(260, 130, 130, 22);

        jlRef.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
        jlRef.setText("Referencia");
        add(jlRef);
        jlRef.setBounds(0, 40, 80, 22);

        jlQtdEstMin.setFont(new java.awt.Font("Arial", 0, 12));
        jlQtdEstMin.setText("Estoque Minimo");
        add(jlQtdEstMin);
        jlQtdEstMin.setBounds(0, 160, 100, 22);

        jtRef.setFont(new java.awt.Font("Arial", 0, 12));
        add(jtRef);
        jtRef.setBounds(130, 40, 170, 25);

        jlDesc.setFont(new java.awt.Font("Arial", 0, 12));
        jlDesc.setText("Descriçao:");
        add(jlDesc);
        jlDesc.setBounds(0, 210, 59, 22);

        jtaDesc.setColumns(20);
        jtaDesc.setFont(new java.awt.Font("Arial", 0, 12));
        jtaDesc.setRows(5);
        jScrollPane1.setViewportView(jtaDesc);

        add(jScrollPane1);
        jScrollPane1.setBounds(130, 210, 350, 81);

        jbSalvar.setText("Salvar");
        add(jbSalvar);
        jbSalvar.setBounds(40, 310, 63, 23);

        jbExcluir.setText("Excluir");
        jbExcluir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbExcluirActionPerformed(evt);
            }
        });
        add(jbExcluir);
        jbExcluir.setBounds(200, 310, 73, 23);

        jbNovo.setText("Novo");
        add(jbNovo);
        jbNovo.setBounds(360, 310, 73, 23);
    }// </editor-fold>//GEN-END:initComponents

    private void jbExcluirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbExcluirActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jbExcluirActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField QtdEstMin;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JButton jbExcluir;
    private javax.swing.JButton jbNovo;
    private javax.swing.JButton jbSalvar;
    private javax.swing.JLabel jlDesc;
    private javax.swing.JLabel jlNome;
    private javax.swing.JLabel jlPrCom;
    private javax.swing.JLabel jlPrVend;
    private javax.swing.JLabel jlPrcLucro;
    private javax.swing.JLabel jlQtdEst;
    private javax.swing.JLabel jlQtdEstMin;
    private javax.swing.JLabel jlRef;
    private javax.swing.JTextField jtNome;
    private javax.swing.JTextField jtPrCom;
    private javax.swing.JTextField jtPrVend;
    private javax.swing.JTextField jtPrcLucro;
    private javax.swing.JTextField jtQtdEst;
    private javax.swing.JTextField jtRef;
    private javax.swing.JTextArea jtaDesc;
    // End of variables declaration//GEN-END:variables

}
